import Ad from '_shared/Ad';
import PageMeta from '_shared/PageMeta';

<PageMeta title="Parsing" description="Parsing dates for @material-ui/pickers" />

## Parsing dates

Material UI Pickers relies on the date management library when the date should be parsed. Any other prop-types that accepts dates (e.g. `minDate`, `maxDate`) it can take string, number, Date object and so on.

<Ad />

Find more information about parsing dates in the documentation for your library:

- [date-fns](https://date-fns.org/v2.19.0/docs/parse)
- [dayjs](https://day.js.org/docs/en/parse/parse)
- [luxon](https://moment.github.io/luxon/docs/manual/parsing.html)
- [moment](https://momentjs.com/docs/#/parsing/)

P.S.: Pass any value to the picker, and if it won't be parsed as expected feel free to open an issue
on [GitHub](https://github.com/mui-org/material-ui-pickers) 😎
